Internet Chat v1.1

is a simple HyperNext project and accompanying stack that demonstrates how easy it is to use HyperNext's built in "Easy Networks".



Usage

It is possible to test Internet Chat on a single computer but because Easy Networks uses TCP/IP you will still need to start up your network first.

If you intent to use Chat on only one computer then first run the Chat stack, and then load up the Chat project into HyperNext and run it. Simple Chat has been designed so both a Chat stack and a Chat project can fit together onto a single 800 x 600 size screen.

Assuming Chat is running:

Step 1. Enter target IP  address 
          eg '172.134.35.12'
 
       If you are  using a single computer just type in "localhost"

Step 2. Enter chosen port, eg '4000'

Step 3. Press the "New Connection" button.

Step 4. Press the  "Listen" button.

Step 5. On the other HyperNext Chat 

         repeat steps 1 to 4
 
         then press the "Connect" button.

Step 6. Enter your chosen Nickname.

Step 7. Send messages.


Note, when the Chat stacks quits it will save the address, port, Nickname and chat log.



Problems

If you cannot make a connection to another HyperNext Chat then the most likely cause is your computer's firewall.
Usually, the connection will fail silently due to the firewall blocking your chosen port. The best remedy is to tell your firewall to enable the specific port. Alternatively, for short tests you could disable your firewall but this is not recommended.



Programming

The program is quite short but the code is located in several places:

(1) Most of the program code is located in the buttons' scripts and the  card's script.

(2) On the Edit menu are the Easy Network event menu entries:

          Connected - displays connection  status in field 3

          Error - displays connection status in field 3

          Received - adds any received message on to field 5


Further information on using Easy Networks is in the Language Guide pdf.


-----------------------
TigaByte Software.
http://www.tigabyte.com




